package com.example.backend.service;

import com.example.backend.pojo.Review;

import java.util.List;

public interface ReviewService {
    List<Review> getallbyuserid(Integer userid);
    List<Review> getallbyresid(Integer resid);
    void addreview(Review review);

    void reply(Integer reviewid, String reply);

    Review getByid(Integer reviewid);
}
